package com.bobi.tfca.network.client;

import android.app.Application;
import android.app.Notification;
import android.app.NotificationManager;
import android.content.Intent;
import android.os.Build;
import android.util.Log;

/**
 * 应用启动后在后台启动Netty服务
 */
public class TfcaApplication extends Application {

    @Override
    public void onCreate() {
        super.onCreate();
        Log.i("TfcaApplication", "service binding---------------");
        startForegroundService(new Intent(this, PushService.class));
//        startService(new Intent(this, PushService.class));
    }
}
